package com.centronix.web;

import java.io.Serializable;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.SessionScoped;

import com.centronix.manager.EmployeeManager;
import com.centronix.manager.StockManager;

@ManagedBean(name = "stockBean")
@SessionScoped
public class StockBean implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ManagedProperty("#{employeeManager}")
    private EmployeeManager employeeManager;
	
	@ManagedProperty("#{stockManager}")
    private StockManager stockManager;
	
	public String getAllStock(){
		
		return "stock";
	}
	
	@PostConstruct
	public void init() {
		
	}
	
	public EmployeeManager getEmployeeManager() {
		return employeeManager;
	}

	public void setEmployeeManager(EmployeeManager employeeManager) {
		this.employeeManager = employeeManager;
	}
	
	
	public String getEmployeeStock(){
		
		
		return "";
	}
	
	
}
